<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!--
    (c) 2007, Stephane Alnet
    
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 3
    of the License, or (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
    <head>
        <title>Configuration</title>
        <style type="text/css">
            @import "js/dojo/dojo/resources/dojo.css";
            @import "js/dojo/dijit/themes/tundra/tundra.css";
            @import "js/ccn/update.css";
        </style>
        <script type="text/javascript" src="js/dojo/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
        <script type="text/javascript" src="js/ccn/update.js" charset="utf-8"></script>
        <script type="text/javascript">
           dojo.require("dojo.parser");
           dojo.require("dijit.form.ValidationTextBox");
           dojo.require("dijit.form.NumberTextBox");
           
           // djConfig.usePlainJson = true;

           var the_form = "the_form";

           function onload_populate()
           {
               dojo.query('#no_javascript').forEach(_hide_item);
               populate_form(the_form,"<TMPL_VAR NAME="populate_uri">");
           }

           dojo.addOnLoad(onload_populate);

           // What to do when the_form is submitted.
           function submit_the_form()
           {
               submit_form(the_form,"<TMPL_VAR NAME="submit_uri">");
           }

           // How to install the button for the_form.
           function install_button(item)
           {
               dojo.connect(item,'click',submit_the_form);
           }

           dojo.query('#the_button').forEach(install_button);

        </script>
    </head>
    <body class="tundra">
<!-- header -->

<div id="the_status">
    Please wait, loading...
</div>
<div id="no_javascript">
    Your browser does not support Javascript, or Javascript is currently disabled.
    Please enable Javascript to use this application.
</div>

<form action="index.pl" method="post" accept-charset="utf-8" id="the_form">

<TMPL_VAR NAME="content">

    <p><input type="submit" name="_apply" value="&rarr;" id="the_button"></p>
</form>

<TMPL_IF NAME="output">
<pre>
<TMPL_VAR NAME="output">
</pre>
</TMPL_IF>

<!-- footer.html -->
    </body>
</html>
